package cn.vihub.controller;

import cn.vihub.utils.Result;
import cn.vihub.utils.TestUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 秋晚
 * @Date: 2025/7/18 09:09
 * @Description:
 **/
@RestController
@RequestMapping("shop-user/test")
public class TestController {
    @GetMapping("test1")
    public Result<String> test1(){
        String s = TestUtils.test1();
//        return Result.success(s);
//        return Result.error(500,"状态码错误!");
        return Result.success();
    }
}
